% L0_sim_consts_A4_orin.m
% set global 'sim_consts', which will be used in the other programs
% -----------------------sim_comsts----------------------------
function sim_consts = L0_sim_consts_A4_orin_EPA5
   % v = [2.34 32.8 140.8] 
  
% EPA 2.34(5Hz)  
%    ceil([0 30 70 90 110 190 410].*1e-9./(1/30.72e6)); % oringinal delay
%    delay = ceil([0 30 50 90 110 190 410].*1e-9./(1/30.72e6));
%    power = [0.0 -1.0 -2.0 -3.0 -8.0 -17.2 -20.8]; 
   
% EVA 32.8(70Hz) 140.8(300Hz)
%    delay = ceil([0 30 150 310 370 710 1090 1730 2510].*1e-9./(1/30.72e6));
%    power = [0.0 -1.5 -1.4 -3.6 -0.6 -9.1 -7.0 -12.0 -16.9];

% ETU 32.8(70Hz)
%    delay = ceil([0 50 120 200 230 500 1600 2300 5000].*1e-9./(1/30.72e6));
%    power = [-1.0 -1.0 -1.0 0.0 0.0 0.0 -3.0 -5.0 -7.0];

   sim_consts = struct(...
    'Mt',8,...
    'Mr',8,...
    'v',2.3,...%km/h,...
    'fc',2.3e9,...
    'samplingrate',122.88e6,... %60*2048
    'ifft_length',2048,...
    'Gp_length_short',448,...
    'Gp_length_long',448,...
    'num_OFDM_slot',32,...
    'delay',ceil([0 30 50 90 110 190 410]*1e-9./(1/122.88e6)),...
    'power',10.^([0.0 -1.0 -2.0 -3.0 -8.0 -17.2 -20.8]./10),...
    'MU_option',0,... % 0 for SU-MIMO,1 for MU-MIMO
    'cor',[0 0]); % [tx_cor rx_cor]
    % low correlation :[0 0]
    % media correlation:[0.3 0.9]
    % high correlation :[0.9 0.9]


% global sim_consts;


  
